#!/bin/sh

if [ "$1" != "upgrade" ]
then
  update-alternatives --remove editor /usr/bin/fte
fi

#DEBHELPER#
